projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a43a59
)
(lisp-complete-symbol): Bind completion-fixup-function.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 11 Jul 1994 21:26:44 +0000
(21:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 11 Jul 1994 21:26:44 +0000
(21:26 +0000)
lisp/emacs-lisp/lisp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp.el
b/lisp/emacs-lisp/lisp.el
index d6f3e4afb8d3c206436cc30462b2ae277e497e8d..07a22698c6e7cce9b3333d0617b6f43f8156f794 100644
(file)
--- a/
lisp/emacs-lisp/lisp.el
+++ b/
lisp/emacs-lisp/lisp.el
@@
-277,7
+277,12
@@
function definitions, values or properties are considered."
(insert completion))
(t
(message "Making completion list...")
- (let ((list (all-completions pattern obarray predicate)))
+ (let ((list (all-completions pattern obarray predicate))
+ (completion-fixup-function
+ (function (lambda () (if (save-excursion
+ (goto-char (max (point-min) (- (point) 4)))
+ (looking-at " <f>"))
+ (forward-char -4))))))
(or (eq predicate 'fboundp)
(let (new)
(while list